<%@ page language="java" import="java.util.*,entity.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN">
<HTML>
<HEAD>
<TITLE>员工
</TITLE>
<META http-equiv=Content-Type content="text/html;charset=utf-8" >
<META http-equiv=Pragma content=no-cache>
<META http-equiv=Cache-Control content=no-cache>
<META http-equiv=Expires content=-1000>

<LINK href="/OrderMeal/css/admin.css" type="text/css" rel="stylesheet">
<link href="/OrderMeal/css/layout.css" type="text/css" rel="stylesheet">



  </head>
 
  <body>
  <div id="container">
<div id="header"><jsp:include page="header.jsp"></jsp:include></div>
<div id="mainContent">
<div id="sidebar"><jsp:include page="waitersf.jsp"></jsp:include></div>
<div id="content">

<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
  <TR height=28>
    <TD background=/OrderMeal/Images/title_bg1.jpg>当前位置: 空余包间查询</TD></TR>
  <TR>
    <TD bgColor=#b1ceef height=1></TD></TR>
  <TR height=20>
    <TD background=/OrderMeal/Images/shadow_bg.jpg></TD></TR></TABLE>
    
    

    <%List list =(List)session.getAttribute("List");
    	%>
    	<center>
  <table width="100%" >
	<tr background=/OrderMeal/Images/shadow_bg.jpg >
		<td width = "16%"><div align = "center">包间编号</div></td>
		<td width = "16%"><div align = "center">包间名称</div></td>
		<td width = "16%"><div align = "center">包间大小</div></td>
		<td width = "16%"><div align = "center">容纳桌子总数 </div></td>
		<td width = "16%"><div align = "center">空余包间开设</div></td>
		<td width = "16%"><div align = "center">包间更换</div></td>
		</tr>
	<%int index = 0;
	
	  if(list != null){
	
		for(index = 0; index<list.size();index++) {
		 
		
		Rooms r = (Rooms)list.get(index);
		
	    
		%>
	<tr>
	    <td width= "16%" align= "center"><%= r.getRoom_no() %></td>
	    <td width= "16%" align= "center"><%=r.getRoom_name() %></td>
	    <td width= "16%" align= "center"><%= r.getRoom_size() %></td>
	    <td width= "16%" align= "center"><%= r.getTable_num() %></td>
	    <td width= "16%" align= "center"><a href= "setRoomRe.jsp"/>包间开设</a></td>
	    <td width= "16%" align= "center"><a href= "roomChange.jsp"/>包间更换</a></td>
	    
	 <% }
	}
	%>
	</tr>
</table>
  </center>
  
  
     </div>
</div>

<div id="footer" align="center">版权所有    中北大学10060641  郭倩</div>

</div> 
  </body>
</html>
